package cn.itsource.system.service;

import cn.itsource.base.util.PageList;
import cn.itsource.system.domain.Role;
import cn.itsource.base.service.IBaseService;
import cn.itsource.system.domain.dto.RoleDto;
import cn.itsource.system.query.RoleQuery;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zcj
 * @since 2023-11-06
 */
public interface IRoleService extends IBaseService<Role> {
     PageList<Role> queryPage(RoleQuery query);

     void save(RoleDto role);

     void update(RoleDto role);

    List<Long> getPermission(Long roleId);

    List<List<Long>> getMenu(Long roleId);
}
